package com.example.cdc.listener;

import com.example.cdc.wrap.BinlogObj;
import org.slf4j.Logger;

/*
 * @className: CDCConsoleListener
 * @author: chentao
 * @date: 2025/9/25 15:34
 * @Version: 1.0
 * @description:
 */
public class CDCConsoleListener implements CDCListener {

    Logger logger = org.slf4j.LoggerFactory.getLogger(getClass());

    @Override
    public void onMessage(BinlogObj binlogObj) {
        logger.warn(binlogObj.toString());
    }
}
